public class Test{
    public static void main(String [] args){

        MobilePhone phone1= new MobilePhone("Apple","13800000000");
                phone1.display();
    }
}

class MobilePhone{
    private String brand;
    private String code;

    public MobilePhone(String brand, String code){

        this.brand=brand;
        this.code=code;

    }

    public void display(){
        System.out.println("Brand=" + brand);
        System.out.println("Code=" + code);
    }
}


